# app/print_routes.py
import sys
sys.path.append("D:/华为家庭存储/dv_proj_zt/zennotac-backend")  # 根据实际路径调整

from main import app

for route in app.routes:
    if hasattr(route, "methods"):
        print(f"{', '.join(route.methods)}\t{route.path}")